package com.crcc.materialinventory.constant;

import com.crcc.common.constant.CommonConsts;
import com.crcc.common.exception.BaseResultInfoInterface;

public enum ErrorEnum implements BaseResultInfoInterface {

    DOOR_PROJECT_NONE(CommonConsts.OPERATE_FAILED,"未选择项目!");

    /** 错误码 */
    private String resultCode;

    /** 错误描述 */
    private String resultMsg;

    ErrorEnum(String resultCode, String resultMsg) {
        this.resultCode = resultCode;
        this.resultMsg = resultMsg;
    }

    @Override
    public String getResultCode() {
        return resultCode;
    }

    @Override
    public String getResultMsg() {
        return resultMsg;
    }

}
